package dao;

import org.apache.ibatis.annotations.Param;
import pojo.User;

import java.util.List;

public interface UserDao {
    public User queryByPhone(String phone);
    public List<User> queryAllUser();
    public User login(@Param(value = "phone")String phone,@Param(value = "password") String password);
    public int insertUser(User user);
    public int updateUser(User user);
}
